//
//  LeftViewController.m
//  B_object
//
//  Created by dllo on 15/10/28.
//  Copyright © 2015年 YUHAO. All rights reserved.
//

#import "LeftViewController.h"
#import "OtherViewController.h"
#import "AppDelegate.h"

@interface LeftViewController ()
- (IBAction)pushAction:(UIButton *)sender;

@end

@implementation LeftViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (IBAction)pushAction:(UIButton *)sender {
    
    OtherViewController *other = [[OtherViewController alloc] init];
    AppDelegate *appD = (AppDelegate *)[[UIApplication sharedApplication] delegate];
    [appD.leftSlideVC closeLeftView];
    [self presentViewController:other animated:YES completion:^{
        
    }];
    
}
@end
